<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><{$site_title}>管理中心</title>
<{include file="js.html"}>
<script type="text/javascript">
$(document).ready(function(){
  //添加
  $("#adds").click(function(){
    var url=$(this).attr('url');
    var school=$("#school").val();
    var profession=$("#profession").val();
    $.post(
      url,
      {school:school,profession:profession},
      function(data){
        if(data.error=='0'){
          alert("添加失败！");
          $("#school").val("");
          $("#profession").val("");
        }else{
          $("#top").after(data.html);
          //if(add_type=="end") $("#addTr").before(data.content);
           $("#school").val("");
          $("#profession").val("");
        }
      }
      ,'json'
    )
  })
})

</script>
</head>

<body>
<div class="box">
<div style="background:url(images/mainbj.jpg) repeat-x; line-height:31px; height:31px;">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td width="41" align="center">
<img src="images/biao1.jpg" /></td>
<td><strong>当前位置</strong>：管理 &gt; 列表</td>
</tr></table>
</div>
<table class="lefttab" cellpadding="0" cellspacing="0">
<tbody>
<tr><td height="50px" class="xiugai">
<a style="float:left; margin-left:5px;" href="user_info.php?id=<{$smarty.get.id}>"><div class="inp2">基本信息</div></a>
<a style="float:left; margin-left:5px;" href="user_educate_info.php?id=<{$smarty.get.id}>"><div class="inp2 inp">教育经历</div></a>
<a style="float:left; margin-left:5px;" href="user_oversea_info.php?id=<{$smarty.get.id}>"><div class="inp2">海外经历</div></a>
<a style="float:left; margin-left:5px;" href="user_work_info.php?id=<{$smarty.get.id}>"><div class="inp2">工作经历</div></a>
</td>
  </tr>
</tbody></table>

<table width="849" cellpadding="0" cellspacing="0" class="lefttab">
<tr><td colspan="7"><div style="height:26px; text-align:left; line-height:26px; background:url(images/xbj1.jpg) repeat-x; border:1px solid #e9f5fa;font-weight:bold;">&nbsp;&nbsp;教育经历</div>
</td></tr>
<tr style="background:#dceff6;" id="top">
  <!-- <td><strong>选择</strong></td> -->
  <td><strong>学校</strong></td>
  <td><strong>专业</strong></td>
 <!--  <td><strong>管理操作</strong></td> -->
</tr>
<{foreach item=row from=$educates}>
<tr>
  <!-- <td> <input type="checkbox" name="checkbox" value="<{$row.id}>" /></td> -->
  <td name_id="<{$row.id}>"><{$row.school}></td>
  <td><{$row.profession}></td>
 <!--  <td class="xiugai">
    <a href="user_educate.php?id=<{$smarty.get.id}>&action=del&eid=<{$row.id}>">删除</a>
  
  </td> -->
</tr>
<{/foreach}>
<!-- <tr id="addTr">
  <td>&nbsp;</td>
  <td colspan="2"> <input type="text" id="school" placeholder="学校或教育机构名"/>&nbsp;<input type="text" id="profession" placeholder="专业方向（选填）"/></td>
  <td class="xiugai">
    <a href="javascript:;" id="adds" url="user_educate.php?action=add&id=<{$smarty.get.id}>" add_type="top">添加</a>
  </td>
</tr> -->
</table>
  <div class="fenye" >
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;&nbsp;<!-- <a onclick='allcheck()' href="javascript:void(0)">全选</a> | <a onclick="del('user_educate.php?action=delMany&id=<{$smarty.get.id}>')" href="javascript:void(0)">删除</a> --> &nbsp;&nbsp;&nbsp;&nbsp;<{$page}></p>
  </div>

</div>
</body>
</html>